#include<iostream>
using namespace std;


enum CPU_Rank {P1=1,P2,P3,P4,P5,P6,P7};

class CPU{
private:
CPU_Rank rank;
int frequency;
float voltage;
public:
CPU(CPU_Rank r,int f,float v);
void run();
void stop();

~CPU();
};

//CPU::CPU(CPU_Rank r,int f,float v):rank(r),frequency(f),voltage(v){
//  //   rank=r;
//	 //frequency=f;
//	 //voltage=v;	
//	 cout<<"gou zao le yi ge CPUe"<<endl;
//}
CPU::CPU(CPU_Rank r,int f,float v){
     rank=r;
	 frequency=f;
	 voltage=v;	
	 cout<<"gou zao le yi ge CPUe"<<endl;
}
void CPU::run(){
	cout<<"CPU RUN!"<<endl;
}
void CPU::stop(){
	cout<<"CPU STOP!"<<endl;
}
CPU::~CPU(){
	cout<<"xi gou le yi ge CPU"<<endl;
}

int main(){
CPU A(P6,300,2.8);
A.run();
A.stop();
return 0;
}